On Mar 20, 2008, at 4:50 PM, Daniel F. wrote:
end
endclass B < A
def initialize var
puts “making a #{var} b”
super
super()
When you call super as a bare word, it passes the args from the
enclosing method automatically, to force it to pass no args you need
to use super() .
Cheers-
- Ezra Z.
– Founder & Software Architect
– [email protected]
– EngineYard.com